package com.xxc.exam.entity.pojo

import com.xxc.batis.po.BasePO
import com.xxc.common.anotation.POKO
import java.math.BigInteger
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Table

@Entity
@Table(name = "paper")
@POKO
data class Paper(
        @Column(name = "owner_id")
        var ownerId:BigInteger? = null,
        var name:String? = null,
        var score:Int? = null,
        var type:Int? = null
):BasePO() {
    companion object{
            // 随机抽题
            const val RANDOM_QUES = 1
            // 一个一个题目选
            const val ONE_BY_ONE = 2
    }
}